package com.zhang.service;


import com.zhang.domain.req.ShopCartReq;
import com.zhang.domain.res.PayOrderRes;

import java.util.List;

/**
 * @author Fuzhengwei bugstack.cn @小傅哥
 * @description 订单服务接口
 * @create 2024-09-29 09:43
 */
public interface IOrderService {

    PayOrderRes createOrder(ShopCartReq shopCartReq) throws Exception;

    void changeOrderPaySuccess(String orderId);

    // 超时关闭订单
    List<String> queryTimeoutCloseOrderList();

    // 没有支付关闭订单
    List<String> queryNoPayNotifyOrder();


    boolean changeOrderClose(String orderId);
}